
import Vue from 'vue'
import router from './router'
import FastClick from 'fastclick'
import remConfig from 'js/config'
import App from './App'

Vue.config.productionTip = false

//引入axios
import axios from 'axios'
Vue.prototype.$axios = axios

//引入vuex
import {store} from './store/index.js'

//引入js
FastClick.attach(document.body);

//引入swiper组件
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper)

//引入css
import 'css/iconfont.css'
import 'css/reset.css'

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store,
    components: { App },
    template: '<App/>'
})
